package ar.com.vates.ejercicio01;

import java.util.Random;

public class MiClase {
	
	public static int devolverNro() throws MiExcepcion
	{
		int nro;
		Random random=new Random();
		nro=random.nextInt(2);
		if(nro==0) throw new MiExcepcion();
		else return (int)nro;
	}

}
